const filterOption = {
	items: [
		{
			label: "颜色",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryLocation"
		},
		{
			label: "手寸",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryStatus"
		},
		{
			label: "钻重",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createBy"
		},
		{
			label: "净度",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "对称",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "抛光",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "荧光",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "切工",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const path = ['仓库库存', '寄存供应商库存'];
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 0,
	pageSizeArr: [10, 20, 30, 40]
};
const selectBoxOpt = [
	{
		title:'商品类型',
		type:'card',
		data:[
			{
				title:'全部',
				isAll:true,
				detail:[
					{label:'库存',value:'3625'},
					{label:'金额',value:'4,8322.20'},
				],
				color:'green'
			},
			{
				title:'成品',
				detail:[
					{label:'库存',value:'365'},
					{label:'金额',value:'4,832.20'},
				],
				color:'#d70051'
			}
		]
	},
	{
		title:'库存状态',
		type:'button',
		data:[
			{
				title:'全部',
				value:0
			},
			{
				title:'正常',
				value:1
			},
			{
				title:'锁定',
				value:2
			},
		]
	},
	{
		title:'库位',
		type:'button',
		data:[
			{
				title:'0仓',
				value:0
			},
			{
				title:'1仓',
				value:1
			},
			{
				title:'2仓',
				value:2
			},
		]
	},
]
let Model = {
	data() {
		return {
			Model: {
				path,
				pager,
				selectBoxOpt,
				filterOption,
				defaultFilterOption: filterOption,
				dialogFormVisible: false,
				nowSelectId: undefined,
				tableData: [{
					number: 1
				}],
				filterOptionData: undefined,
				saleManList: {},
				saleAfterOrderStatus: {},
				selectionList: [],
				searchFromData: {},
				defaultSearchFromData: {},
				// tableData: undefined,
				activeTab: '1',
				detailDialogFlag: false
			}
		}
	}
}
export default Model;
